#include <myhead.h>
#include "chatClient.h"


int main(int argc, char *argv[])
{
    if (argc < 4) 
    {
        cout<<"请输入 IP 端口号 用户名"<<endl;
        return 1;
    }
    
    ChatClient client(argv[1], atoi(argv[2]), argv[3]);

    client.run();
}